package com.test.event.impl;

import com.test.event.base.PSCEvent;
import com.test.event.user.PreData;

/**
 * 类功能描述:
 *
 * @author bgt
 * @version V1.0
 * @since 2019-02-18 16:58
 */
public class PreDataEvent extends PSCEvent<PreData> {

    @Override
    public PreData process(PreData param) {
//        System.out.println(param.getClass());
        param.setPreDataName("PreDataName:ricky");
        return param;
    }

    @Override
    public PreData synprocess(PreData param) {
        System.out.println("异步");
        return process(param);
    }
}
